Steamworks SDK Setup
- Download Steamworks SDK ZIP from Steamworks website:
- https://partner.steamgames.com/downloads/list
- Create
C:\Steamworksdirectory. - Unzip SDK files to
C:\Steamworks.
Main Game
1. Edit Package Manifest
In the GnollHackM project, update Platforms\Windows\Package.appxmanifest:
- Change Packaging → Package Name to
Hyvnmielenpelitry.889864DD5340.Steam(Identity → Name in XML). - Change Packaging → Version to the right number (Identity → Version in XML).
2. Build GnollHack
- Update GnollHack Library Build Number in
patchlevel.h. - Ensure that
WindowsPackageTypeisNonein GnollHackM.csproj. This will build an unpackaged version. - Delete GnollHackM's
binandobjdirectories. - Build a Release version of GnollHackM.
3. Copy Files to Steamworks
- If contents of
tools\ContentBuilder\contentis not empty:- Check if
tools\ContentBuilder\content_oldis empty, move the files there. - If it is not empty, delete the files in
tools\ContentBuilder\content_oldand move the files then there.
- Check if
- Now
tools\ContentBuilder\contentdirectory should be empty. - Copy the built files there.
- Compare
contentandcontent_oldwith WinMerge and check that everything is ok.- Click File → Open and continue from there to select the directories.
4. Edit Steamworks Files and Upload to Steam
- Edit Steamworks'
tools\ContentBuilder\scripts\gnollhack.vdfand add a meaningful description there (it's like a build commit message). - Check that
tools\ContentBuilder\build_gnollhack.batcontains your Steamworks user name and password. If not, add them there. - Open Terminal in Steamworks'
tools\ContentBuilderfolder. - Run
tools\ContentBuilder\build_gnollhack.batthere.- You may need to enter Steam Guard code from your email before proceeding.
5. Move Published Files to Old Directory
Move published files from content to content_old.
6. Edit Package Manifest Again
In the GnollHackM project, update Platforms\Windows\Package.appxmanifest:
- Change Packaging → Package Name back to
Hyvnmielenpelitry.889864DD5340(Identity → Name in XML).
Notes
You get tools\ContentBuilder\scripts\gnollhack.vdf and tools\ContentBuilder\build_gnollhack.bat from the dev team.
Playtest Version
1. Edit Package Manifest
In the GnollHackM project, update Platforms\Windows\Package.appxmanifest:
- Change Packaging → Package Name to
Hyvnmielenpelitry.889864DD5340.Playtest(Identity → Name in XML). - Change Packaging → Version to the right number (Identity → Version in XML).
2. Build GnollHack
- Update GnollHack Library Build Number in
patchlevel.h. - Ensure that
WindowsPackageTypeisNonein GnollHackM.csproj. This will build an unpackaged version. - Delete GnollHackM's
binandobjdirectories. - Build a Release version of GnollHackM.
3. Copy Files to Steamworks
- If contents of
tools\ContentBuilder\content_playtestis not empty:- Check if
tools\ContentBuilder\content_playtest_oldis empty, move the files there. - If it is not empty, delete the files in
tools\ContentBuilder\content_playtest_oldand move the files then there.
- Check if
- Now
tools\ContentBuilder\content_playtestdirectory should be empty. - Copy the built files there.
- Compare
content_playtestandcontent_oldwith WinMerge and check that everything is ok.- Click File → Open and continue from there to select the directories.
- Ensure especially that all icons and fonts are included.
- Ensure that
output_playtestfolder exists. If not, create it.
4. Edit Steamworks Files and Upload to Steam
- Edit Steamworks'
tools\ContentBuilder\scripts\playtest_gnollhack.vdfand add a meaningful description there (it's like a build commit message). - Check that
tools\ContentBuilder\build_playtest_gnollhack.batcontains your Steamworks user name and password. If not, add them there. - Open Terminal in Steamworks'
tools\ContentBuilderfolder. - Run
tools\ContentBuilder\build_playtest_gnollhack.batthere.- You may need to enter Steam Guard code from your email before proceeding.
5. Move Published Files to Old Directory
Move published files from content_playtest to content_playtest_old.
6. Edit Package Manifest Again
In the GnollHackM project, update Platforms\Windows\Package.appxmanifest:
- Change Packaging → Package Name back to
Hyvnmielenpelitry.889864DD5340(Identity → Name in XML).
Notes
You get tools\ContentBuilder\scripts\playtest_gnollhack.vdf and tools\ContentBuilder\build_playtest_gnollhack.bat from the dev team.